package com.qd.common.panda.domain.entity.order;

import com.cdqidi.util.page.BaseQuery;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 用户订单
 *
 * @author sjk
 */
@Getter
@Setter
@ToString
@EqualsAndHashCode(callSuper = false)
public class UserStrokeOrderQueryDTO extends BaseQuery {

    /**
     * 主键
     */
    private String orderId;
    /**
     * 支付状态:0未支付 1支付成功 2支付失败
     */
    private Integer payStatus;
    /**
     * 停车场ID
     */
    private String parkId;
    /**
     * 停车场名称
     */
    private String parkName;
    /**
     * 车牌
     */
    private String plateNumber;
    /**
     * 用户唯一标识
     */
    private String userId;
    /**
     * 行程类型:0停车1充电2加油
     */
    private Integer tripType;
    /**
     * 推广码
     */
    private String promotionCode;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 加油站所属公司
     */
    private String gasStationCompanyId;
    /**
     * 加油站类型
     */
    private String stationType;

    @Override
    public void freeData() {
        this.orderId = null;
        this.payStatus = null;
        this.parkId = null;
        this.parkName = null;
        this.plateNumber = null;
        this.userId = null;
        this.tripType = null;
        this.promotionCode = null;
        this.mobile = null;
        this.gasStationCompanyId = null;
        this.stationType = null;
    }
}
